package cn.yitun.chat.yitunserverrunsingleboot.chat.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 连接配置类
 * @author chenyitun
 * @date 2020-06-07
 */
@Component
@ConfigurationProperties(prefix="yitun")
public class YitunProperties {

    //上传路径
    private static String uploadPath;

    private static String username;

    private static String password;

    private static String hostport;

    private static String logoPath;

    private static String appName ;

    private static String mode ;

    private static String defaultSaveBy ;
    //版本
    private static String version ;

    public static String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    public static String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public static String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public static String getHostport() {
        return hostport;
    }

    public void setHostport(String hostport) {
        this.hostport = hostport;
    }

    public static String getLogoPath() {
        return logoPath;
    }

    public void setLogoPath(String logoPath) {
        this.logoPath = logoPath;
    }

    public static String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public static String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public static String getDefaultSaveBy() {
        return defaultSaveBy;
    }

    public void setDefaultSaveBy(String defaultSaveBy) {
        this.defaultSaveBy = defaultSaveBy;
    }


    public static String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}